<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>商品列表</title>
    <link rel="stylesheet" href="/lib/mui/css/mui.css">
    <link rel="stylesheet" href="/lib/fontawesome/css/font-awesome.css">
    <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/css/good_list.css">
</head>

<body>
    <!-- 搜索栏 -->
    <div class="search">
            <a href="javascript:location.href=location.href;" class="fa fa fa-refresh cancel_search "></a>
            <div class="search1">
              <input type="text" class="input">
            </div>
            <a class="search_btn" href="javascript:;">搜索</a>
        </div>
    <!-- 标题栏 -->
    <div class="sort-lan">
        <a href="javascript:;">综合</a>
        <a href="javascript:;">销量</a>
        <a href="javascript:;">促销</a>
    </div>
    <!-- 主体 加上上拉刷新，下拉加载的功能(使用插件文档，主要静态结构的搭建)-->
    <div class="pyg_view">
        <div>
            <ul>
                <!-- <li>
                    <a href="#">
                        <div class="tems-left"><img src="http://image4.suning.cn/uimg/b2c/newcatentries/0000000000-000000000601752723_1_400x400.jpg" alt="图片加载失败"></div>
                        <div class="tems-right">
                            <div class="goods-name mui-ellipsis">
                                    夏普(SHARP)LCD-60TX85A 60英寸 4K超高清网络智能液晶平板电视机(分体机 送一年会员 原装面板)
                                  </div>
                             <div class="goods-price">￥2999</div>     
                        </div>
                    </a>
                </li> -->
            </ul>
        </div>
    </div>
    <!-- 底部 -->
    <footer class="pyg_footer">
        <a href="/index.html">
            <span class="fa fa-home"></span>
            <span class="link-name">首页</span>
        </a>
        <a href="/pages/category.html">
            <span class="fa fa-list-ul"></span>
            <span class="link-list">分类</span>
        </a>
        <a href="/pages/cart.html">
            <span class="fa fa-shopping-cart"></span>
            <span class="link-car">购物车</span>
        </a>
        <a href="/pages/me.html">
            <span class="fa fa-user"></span>
            <span class="link-self">个人中心</span>
        </a>
    </footer>
</body>

</html>
<script src="/lib/mui/js/mui.js"></script>
<script src="/lib/arttemplate/template-web.js"></script>
<script src="/lib/zepto/zepto.js"></script>
<script src="/js/common.js"></script>
<script src="/js/good_list.js"></script>
<!-- 商品列表模板 -->
 <script type="text/html" id="listTpl">
    {{each arr value index}}
    <li>
      <a href="/pages/goods_detail.html?goods_id={{value.goods_id}}">
         <div class="tems-left"><img src="{{value.goods_small_logo}}" alt="图片加载失败"></div>
            <div class="tems-right">
                <div class="goods-name mui-ellipsis">
                            {{value.goods_name}}
                          </div>
                     <div class="goods-price">￥{{value.goods_price}}</div>     
                </div>
            </a>
        </li>
    {{/each}}
</script> 
<!-- 商品列表模板 -->